﻿using System;
using RpcModel;
using Wedonek.RpcStore.Service.DAL;
using Wedonek.RpcStore.Service.Interface;
using Wedonek.RpcStore.Service.Model;

namespace Wedonek.RpcStore.Service.Collect
{

        internal class TransactionCollect : BasicCollect<TransactionDAL>, ITransactionCollect
        {
                public BasicTransaction[] QueryRoot (RootQueryParam query, IBasicPage paging, out long count)
                {
                        return base.BasicDAL.QueryRoot (query, paging, out count);
                }

                public BasicTransaction[] GetTranNode (Guid rootId)
                {
                        return base.BasicDAL.GetTranNode (rootId);
                }
                public TransactionInfo Get (Guid id)
                {
                        return base.BasicDAL.Get (id);
                }

                public BasicTransaction[] GetTranNodes (Guid[] rootId)
                {
                        return base.BasicDAL.GetTranNodes (rootId);
                }
        }
}
